import React from 'react'

export function SkeletonRows({ rows = 6 }: { rows?: number }): JSX.Element {
  return (
    <tbody>
      {Array.from({ length: rows }).map((_, i) => (
        <tr key={i}>
          <td colSpan={5}>
            <div className="skeleton-line" />
          </td>
        </tr>
      ))}
    </tbody>
  )
}

